package cn.edu.hunau.java.week01.day02;

import org.junit.Test;

import java.util.Random;

public class MaTest {
    @Test
    public void Randomtest(){
        Random r = new Random();
        int a = r.nextInt(33)+1;
        if(a%3==0){
            System.out.println("能被3整除");
        }
        else{
            System.out.println("不能被3整除");
        }
        }
}

